﻿using MediatR;
using SmartProduction.Domain.客户管理.WorkOrder;
using SmartProduction.ErrorCode;

namespace SmartProduction.Read.API.Application.Commands.Work_CaigouOrderCommand
{
    /// <summary>
    /// 采购订单查询命令
    /// </summary>
    public class Work_CaigouOrderQueryCommand : IRequest<APIResult<APIPaing<Work_CaigouOrder>>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 页码
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 采购编码
        /// </summary>
        public string? OrderCode { get; set; } // XSDD264846

        /// <summary>
        /// 采购主题
        /// </summary>
        public string? OrderSubject { get; set; } // 新产品销售订单0051

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? CustomerName { get; set; } // 重要客户
    }
}
